package com.qinyu.treehole.bo;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class FeedBo {
    private Integer userId;
    @Range(min = 0, max = 1)
    private Integer status;
    @NotNull
    @Size(min = 1, max = 255)
    private String content;
}
